package com.numberone.system.domain;


import com.numberone.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 店铺表 shop
 * 
 * @author numberone
 * @date 2020-09-29
 */
public class Shop extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 店铺表 */
	private Long id;
	/** 店铺名 */
	private String name;
	/*商品规格*/
	private List<Cart> carts;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<Cart> getCarts() {
		return carts;
	}

	public void setCarts(List<Cart> carts) {
		this.carts = carts;
	}

	@Override
	public String toString() {
		return "Shop{" +
				"id=" + id +
				", name='" + name + '\'' +
				", carts=" + carts +
				'}';
	}
}
